home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr41
/
dupmod10.zip
/
DUPMOD10.DOC
< prev
next >
Wrap
Text File
|
1993-06-21
|
5KB
|
107 lines
Program: S3 Duplicate MOD Identification Utility (DUPMOD.EXE)
Date: 06/20/93
Version: 1.00
Author: George Spafford
Purpose:
To allow a user to compare a specified set of .MOD files to determine whether
there are duplicate MOD files regardless of the DOS file name.
Install:
You can place DUPMOD.EXE anywhere in your PATH that you want to - you can even
rename the DUPMOD.EXE file if you want to.
You will notice two .EXE files, DUPMOD.EXE and DUPMOD3.EXE. The first file will
run on any DOS PC. The last file, is for 80386s and above. By using advanced
commands, the DUPMOD3.EXE is a little faster. If you have a 386, you can rename
the DUPMOD3.EXE file and not bother using DUPMOD.EXE.
Procedure:
DUPMOD is run entirely from the command line. Its usage is:
DUPMOD sourcespec targetspec
sourcespec this is the source file specification. For example:
C:\DL\*.MOD
G:*.MOD
and so on
If only the sourcespec is given, the program will
assume that you want to compare those files against
themselves. For instance:
C:\MOD\*.MOD
This will compare all of the .MOD files in the C:\MOD
directory to one another. This is faster than comparing
files in other directories because a pointer is used
that keeps the program from duplicating comparisons in
the same directory.
targetspec this is the comparison directory where you want the
files to be compared.
C:\MOD\*.*
D:\HOLD\*.MOD
DUPMOD C:\MOD\*.MOD G:\MOD\*.MOD
The above example will read each .MOD file in C:\MOD and compare it
to every .MOD file in G:\MOD.
IMPORTANT:
DUPMOD compares on the basis of the first 4,096 bytes of each file.
It does NOT take file names or sizes into consideration. I did this
purposefully because of people renaming files and some files being
partially completed .MOD files. The logic is as follows.
1. Find all matches to the source specification.
2. Find all matches to the comparison specification.
3. If the first 4K match, then it is declared a "DUPLICATE."
4. If bytes 21 to 4096 match, then it is declared a
"POSSIBLE DUPLICATE."
The .MOD file structure stores the track title in the first
20 bytes. I have a seen a lot of .MOD files with the track titles
changed. Therefore, comparisons take place in the form of #3 and
#4 as listed above.
Also note, when you are comparing files in the same directory, the
program will not compare a .MOD to itself, it will skip the file.
If your command line is: DUPMOD C:*.MOD C:*.MOD <- obviously your
source and comparison files are the same and A.MOD will be compared
to A.MOD, B.MOD to B.MOD and so forth - thus, we skipp identical file
names if it is the same directory. I only mention this because it will
make the file counter appear inaccurate at times.
History:
06/20/93 v1.0 Initial shareware release.
Please Register Me:
DUPMOD is shareware. As such, you can use it for 30 days. If you continue
to use the program after this period, you must register it in order to continue
using it legally. DUPMOD is $10 U.S. per copy.
Please make payments in US Currency (no cash please) to:
George Spafford
3003 Lakeshore Drive #216
Saint Joseph, MI 49085
Unless required, notification of receipt will not be sent.
Comments and/or questions are always welcome. I can be reached via the mail,
EXEC-PC, Channel One, Michigan OnLine, or Queued Access:
Michigan Online BBS 19200-8-N-1 616-429-3414 Zeke Torres Sysop
DUPMOD IS DISTRIBUTED AS IS. THE AUTHOR (GEORGE SPAFFORD) MAKES NO
WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, WITH
RESPECT TO THIS SOFTWARE AND DOCUMENTATION. IN NO EVENT SHALL THE AUTHOR
BE LIABLE FOR ANY DAMAGES, INCLUDING LOST PROFITS, LOST SAVINGS, OR ANY OTHER
INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF OR THE INABILITY
TO USE THIS PROGRAM.